<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>将字符串数组用或其他符号分割</title>
</head>
<body>
    <script>
        var arr = ["你","好","我","是","周","鑫","!"];
        console.log(arr.join("~"));

        var str = "你好我是周鑫!";
        arr2 = str.split("");
        console.log(arr);
    </script>
</body>
</html>